package com.xiaozhengkeji.blogsuper.base.entitys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * article_discuss_entity
 */
@ApiModel(value = "article_discuss_entity")
@Data
@NoArgsConstructor
public class ArticleDiscussEntity implements Serializable {
    /**
     * 索引
     */
    @ApiModelProperty(value = "索引")
    private Integer id;

    /**
     * 所属文章
     */
    @ApiModelProperty(value = "所属文章")
    private Integer articleAdsID;

    /**
     * 所属主评论ID -1=主评论
     */
    @ApiModelProperty(value = "所属主评论ID -1=主评论")
    private Integer ownerCommentID;

    /**
     * 上一级评论ID 如果为主评论则设置 -2
     */
    @ApiModelProperty(value = "上一级评论ID 如果为主评论则设置 -2")
    private Integer superiorCommentsID;

    /**
     * 评论用户
     */
    @ApiModelProperty(value = "评论用户")
    private String userName;

    /**
     * 评论内容
     */
    @ApiModelProperty(value = "评论内容")
    private String comments;

    /**
     * 评论时间
     */
    @ApiModelProperty(value = "评论时间")
    private LocalDateTime createTime;

    private static final long serialVersionUID = 1L;
}